package com.worthtech.billportal.dao;

import org.hibernate.criterion.DetachedCriteria;

import com.worthtech.billportal.bean.BillMaster;
import com.worthtech.billportal.bean.BillStatistic;
import com.worthtech.billportal.exception.SCException;
import com.worthtech.billportal.util.PaginationSupport;

public interface BillDAO {

	public BillMaster getBill(String billNo);
	
	public BillMaster saveBill(BillMaster billMaster) throws SCException;
	
	public PaginationSupport getBillList(DetachedCriteria detachedCriteria,int startIndex);
	
	public BillStatistic analyse(String organizationCode);
	
}
